package com.pengpeng.rabbitmq.consumer.service;

import com.pengpeng.rabbitmq.consumer.MessageHandle;
import com.pengpeng.rabbitmq.listen.AbstractMessageHandler;
import com.pengpeng.rabbitmq.register.AbstractRegisterQueue;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 彭鹏
 * @date 2021/10/19.
 */
@Service
public class RegisterQueueService extends AbstractRegisterQueue {
    @Autowired
    MessageHandle messageHandle;


    @Override
    public AbstractMessageHandler messageHandler() {
        return this.messageHandle;
    }
}
